package com.haixiaoke.saas.house.domain;

import com.haixiaoke.saas.common.utils.TreeUtil.ITree;
import lombok.Data;

/**
 * @Author Dell
 * @Date 2024/5/9
 **/
@Data
public class CleaningProcessTree extends ITree<String> {

    private String name;
    private String houseId;

    @Override
    protected boolean firstLevel() {
        return getParentId() == null;
    }
}
